// Copyright (c) 2024, json_wang and contributors
// For license information, please see license.txt

frappe.ui.form.on("AC_BalanceSheet_Config", {
	refresh(frm) {
        frm.set_query("acct", "items", function (doc, cdt, cdn) {            
            return {
                "filters": {
                    "company": ["=",frm.doc.company]
                }
            };
        });
	},
});
